import os
def get_dir_path(path_,n):
    while n:
        n-=1
        path_=os.path.dirname(path_)
    return path_
get_dir_path(r"e:\my\user_dir\1\self\2\projects\1\flow_dir\1\run_flow\now_run_process",10)+os.sep+"easy_edit"+os.sep+"_static_dir"
print()